package com.xbongbong.saas.domain.entity;

import com.xbongbong.paas.toolbox.util.DateUtil;
import com.xbongbong.paas.toolbox.wrap.Entity;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * @description: 公海池分组客户
 * @Author: hongxiao
 * @date: 2019-03-05 22:15
 * @since v1.0
 */
@Getter
@Setter
@ToString
public class PublicGroupCustomerEntity extends Entity {

    public PublicGroupCustomerEntity (){
        long now = DateUtil.getInt();
        updateTime = now;
        addTime = now;
        del = 0;
    }

    /**
     * 主键
     */
    private Long id;
    /**
     * 公司id
     */
    private String corpid;
    /**
     * 公海分组id
     */
    private Long publicGroupId;
    /**
     * 客户id
     */
    private Long customerId;
    /**
     * 添加时间
     */
    private Long addTime;
    /**
     * 更新时间
     */
    private Long updateTime;
    /**
     * 删除标记
     */
    private Integer del;
}
